package conf

import (
	"znet/zconf"
)
type Config struct {
	zconf.Log                     	`json:"Log"`
	zconf.Service                 	`json:"Service"`
	RpcServices []zconf.RpcService 	`json:"RpcServices"`
	Gate 							`json:"Gate"`
}
var Server = Config{}

func (this *Config)Configure(path string)  {
	zconf.ReadConfig(path,&Server)
}
